/**
 * @Description : 路由：用户模块索引页
 * @Author      : zhongzerong
 * @DateTime    : 2025/04/22 12:34
 */
const routeUser = [
    {
        path: "/user",
        name: "userWeb",
        meta: { title: "用户", requiresAuth: true },
        component: () => import(/* 代码块名称: "用户-布局" */ "@/views/user/layout.vue"),
        children: [
            {
                path: "my",
                name: "userIndexWeb",
                meta: {
                    keepAlive: true,
                    requiresAuth: true,
                    title: "用户主页",
                    icon: "",
                },
                component: () => import(/* 代码块名称: "用户-核心" */ "@/views/user/index.vue"),
            },
            {
                path: "info",
                name: "userInfoWeb",
                meta: {
                    keepAlive: true,
                    requiresAuth: true,
                    title: "用户详情",
                    icon: "",
                },
                component: () => import(/* 代码块名称: "用户-核心" */ "@/views/user/userInfo.vue"),
            },
            {
                path: "resume",
                name: "resumeWeb",
                meta: {
                    keepAlive: true,
                    requiresAuth: true,
                    title: "我的简历",
                    icon: "",
                },
                component: () => import(/* 代码块名称: "用户-简历" */ "@/views/user/resume.vue"),
            },
            {
                path: "resumeInfo",
                name: "resumeInfoWeb",
                meta: {
                    keepAlive: true,
                    requiresAuth: true,
                    title: "简历详情",
                    icon: "",
                },
                component: () => import(/* 代码块名称: "用户-简历" */ "@/views/user/resumeInfo.vue"),
            },
            {
                path: "submitResume",
                name: "submitResumeWeb",
                meta: {
                    keepAlive: true,
                    requiresAuth: true,
                    title: "投递简历",
                    icon: "",
                },
                component: () => import(/* 代码块名称: "用户-简历" */ "@/views/user/submitResume.vue"),
            },
            {
                path: "collect",
                name: "collectWeb",
                meta: {
                    keepAlive: true,
                    requiresAuth: true,
                    title: "收藏",
                    icon: "",
                },
                component: () => import(/* 代码块名称: "用户-其他" */ "@/views/user/collect.vue"),
            },
            {
                path: "log",
                name: "userLogWeb",
                meta: {
                    keepAlive: true,
                    requiresAuth: true,
                    title: "用户日志",
                    icon: "",
                },
                component: () => import(/* 代码块名称: "用户-其他" */ "@/views/user/log.vue"),
            },
        ],
    },
    {
        // 用户登录页面路由
        path: "/login",
        name: "loginWeb",
        meta: { title: "登录", requiresAuth: false },
        component: () => import(/* 代码块名称: "用户-认证" */ "@/views/index/login.vue"),
    },
];

export default routeUser;
